package com.info.zhiduoduo.repository.mapper.company;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.info.zhiduoduo.repository.dto.company.CompanyTaxDto;
import com.info.zhiduoduo.repository.entity.company.CompanyTax;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * Mapper 企业费率配置表接口
 * </p>
 *
 * @author fanlei
 * @since 2023-02-20
 */
public interface CompanyTaxMapper extends BaseMapper<CompanyTax> {
    @Select(" select *" +
            " from zdd_company_tax " +
            " where compid = #{compid}")
    CompanyTaxDto getCompanyTaxByCompid(Integer compid);
}
